let buffer=new Buffer('a哈赫dasdsadasdasfdasfsda');
console.log(buffer.indexOf("哈"));//1
console.log(buffer.indexOf(new Buffer("哈")));//1
console.log(buffer.indexOf(new Buffer("赫")));//4
console.log(buffer.indexOf(new Buffer("赫赫")));//-1
